﻿using System;
using System.Collections.Generic;

namespace AspireFyh.ApiService.Entities;

public partial class Organization
{
    public long Id { get; set; }

    public DateTime CreatedAt { get; set; }

    public DateTime ModifyAt { get; set; }

    public string? ContractEmail { get; set; }

    public string? Address { get; set; }

    public string? ContractName { get; set; }

    public string? Description { get; set; }

    public string? ContractPhone { get; set; }

    public string? OrgName { get; set; }

    public long? ParentId { get; set; }

    public ulong? IsTrial { get; set; }

    public string? SupertableName { get; set; }

    public virtual ICollection<AccountCopy1> AccountCopy1s { get; set; } = new List<AccountCopy1>();

    public virtual ICollection<Account> Accounts { get; set; } = new List<Account>();

    public virtual ICollection<OrganizationRole> OrganizationRoles { get; set; } = new List<OrganizationRole>();

    public virtual ICollection<Role> Roles { get; set; } = new List<Role>();

    public virtual ICollection<Device> Devices { get; set; } = new List<Device>();
}
